-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace update in setupmaster.go #41123
replace update in setupmaster.go #41123
Conversation
Hi @xilabao. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
// TODO: Use a patch instead of an Update | ||
if _, err := client.Nodes().Update(n); err != nil { | ||
// TODO: Switch to the new master label defined in https://github.com/kubernetes/kubernetes/pull/39112 | ||
addAnnotationPatch := fmt.Sprintf( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't recommend building a patch by hand. As I recall there are functions that take two objects and compute the diff.
202c9fe
to
efa6afd
Compare
@xilabao: The following test(s) failed:
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@k8s-bot gce etcd3 e2e test this |
/lgtm |
@pires: you can't LGTM a PR unless you are an assignee. In response to this comment:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
ah, I was assigned but then removed :/ |
@pires Ah, yeah, sorry. Discussed this on Slack yesterday, where you said you had the rest of the week full. Anyway, this lgtm as well |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED The following people have approved this PR: luxas, xilabao Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 40917, 41181, 41123, 36592, 41183) |
follow the TODO